package chat.user.service;

import java.util.List;

import chat.user.dao.InfoDao;
import chat.user.domain.Info;

public class InfoService {
	InfoDao infoDao = new InfoDao();

	public void addInfo(Info info) {
		infoDao.addInfo(info);
	}

	public List<Info> selectInfo() {
		List<Info> infoList = infoDao.selectInfo();
		return infoList;
		
	}
}
